/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package com.cxhd.pacs.tools;

import java.util.UUID;

/**
 *
 * @author Administrator
 */
public class CodeUtil {

    public static String getUUID() {
        UUID uuid = UUID.randomUUID();
        String str = uuid.toString();
        return str.replace("-", "");
    }
    public static String getSixNum(){
    
    return((int)((Math.random()*9+1)*100000))+"";
        
    }
}
